﻿using PropertyChanged;
using System;

namespace GEPL.StandardModulesLibrary.Models
{
    [Serializable]
    [ImplementPropertyChanged]
    public class WriteItem
    {
        public string Value { get; set; }

        public bool Variable { get; set; }

        public override string ToString()
        {
            return Variable ? String.Format("str({0})", Value) : String.Format("\'{0}\'", Value);
        }
    }
}